<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>assign</title>
    <link href="../resource/css/assign.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="wrap">
    <div id="header">
        <div class="logo">
            <a href="#"><img alt="logo" src="../resource/images/brand.gif"/></a>
        </div>
        <div class="operate">
            <a href="${pageContext.request.contextPath}/sz/initialAssign.action" class="assign"><img src="../resource/images/assign_on.png" alt="assign"/></a><a href="${pageContext.request.contextPath}/sz/initialModify.action" class="modify"><img
                src="../resource/images/modify_off.png" alt="modify"/></a>
        </div>
    </div>
    <div id="content">
        <div class="mainContent">
            <div class="center">
                <div class="allAdmin">
                    <div>
                        <p style="color:#0055c8;">全部管理员</p>
                        <ul id="allAdmin">
                            <c:forEach var="top" items="${userList}">
                                <li><a href="#" id="user${top.id}"><span>${top.username}</span></span></a></li>
                            </c:forEach>
                        </ul>
                    </div>
                </div>
                <div class="choices">
                    <div class="detail" id="detail">

                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div id="footer">
                <p>&copy;2010电子科技大学数字媒体研究所</p>

                <p>All rights reserved Powered by Dreamfly</p>
            </div>
        </div>
        <div class="leftbar"></div>
        <div class="rightbar"></div>
    </div>
</div>
<input type="hidden" id="pageTitle" value="assign"/>
<input type="hidden" id="goToUrl" value="${pageContext.request.contextPath}/sz/assignAuthority.action"/>
<div id="detailContent" style="display:none;">
    <div class="tabs user"><span>用户名：<span id="userName"></span></span></div>
    <div class="tabs"><span class="items">图像管理</span><span><input
            type="checkbox" name="authorList" value="ROLE_PIC_ADD" />&nbsp;添加</span><span><input
            type="checkbox" name="authorList" value="ROLE_PIC_DEL" />&nbsp;删除</span><span><input
            type="checkbox" name="authorList" value="ROLE_PIC_MOD" />&nbsp;修改</span><span><input type="checkbox" value="ROLE_PIC_SEA" />&nbsp;查询</span></div>
    <div class="tabs"><span class="items">视频管理</span><span><input
            type="checkbox" name="authorList" value="ROLE_VID_ADD" />&nbsp;添加</span><span><input
            type="checkbox" name="authorList" value="ROLE_VID_DEL" />&nbsp;删除</span><span><input
            type="checkbox" name="authorList" value="ROLE_VID_MOD" />&nbsp;修改</span><span><input type="checkbox" value="ROLE_VID_SEA" />&nbsp;查询</span></div>
    <div class="tabs"><span class="items">动作模型库</span><span><input
            type="checkbox" name="authorList" value="ROLE_RES_ADD" />&nbsp;添加</span><span><input
            type="checkbox" name="authorList" value="ROLE_RES_DEL" />&nbsp;删除</span><span><input
            type="checkbox" name="authorList" value="ROLE_RES_MOD" />&nbsp;修改</span><span><input type="checkbox" value="ROLE_RES_SEA" />&nbsp;查询</span></div>
    <%--<div class="operate"><input type="submit" value="" id="ensure"/><input type="reset" value="" id="reset"/></div>--%>
    <div class="operate"><a href="#"  id="ensure"><img src='../resource/images/ensure.png' title="确定"/></a><a href="#" id="reset"><img src='../resource/images/cancel.png' title="取消" /></a></div>
<%--<img src='../resource/images/ensure.png' title="确定"/>--%>
</div>
<script type="text/javascript" src="../resource/js/detec.js"></script>
<%--<script type="text/javascript">--%>
    <%--(function(){--%>
        <%--if(document.getElementById("allAdmin").getElementsByTagName("a")){--%>
            <%--var scope=document.getElementById("allAdmin").getElementsByTagName("a");--%>
            <%--var length=scope.length;--%>
            <%--for(var i=0;i<length;i++){--%>

            <%--}--%>
        <%--}--%>
    <%--})();--%>
<%--</script>--%>
</body>
</html>